@charset "utf-8";

/* 通用样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Bai-Jamjuree","tahoma","Geneva";
}


/* Banner 主体 */
.banner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60vh;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4ebf1 100%);
  padding: 0 8%;
}

.banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  gap: 60px;
}

/* 左侧文字区域 */
.banner-left {
  flex: 1;
}

.banner-title {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #1a1a1a;
  line-height: 1.4;
}

.banner-subtitle {
  font-size: 17px;
  line-height: 1.7;
  color: #444;
  max-width: 500px;
  margin-bottom: 2rem;
}

.banner-btn {
  display: inline-block;
  background-color: #0058c6;
  color: #fff;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.banner-btn:hover {
  background-color: #003f91;
}

/* 右侧图片占位区域 */
.banner-right {
  width: 600px;   /* 你可以根据需要调整宽度 */
  height: 400px;  /* 你可以根据需要调整高度 */
  position: relative;
  overflow: hidden;
}

.banner-image {
  width: 100%;
  height: 100%;
}

.banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 保持比例，裁剪多余部分填满容器 */
  display: block;    /* 去掉底部空隙 */
}



/* 响应式布局 */
@media (max-width: 900px) {
  .banner-content {
    flex-direction: column;
    text-align: center;
  }

  .banner-left, .banner-right {
    flex: none;
  }

  .banner-image {
    height: 280px;
  }

  .banner-title {
    font-size: 2.2rem;
  }

  .banner-subtitle {
    margin: 0 auto 1.5rem;
  }
}

 
 
  
  /* The Breakdown Section */
.case-breakdown {
  background-color: #f8f9fb; /* 浅蓝背景 */
  padding: 32px;
  border-radius: 12px;
  max-width: 900px;
  margin: 40px auto;
  font-family: "Bai Jamjuree";
  color: #1e293b;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.case-breakdown h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #0f172a;
}

.breakdown-table {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.row {
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: start;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.row:last-child {
  border-bottom: none;
}

.label {
  font-weight: 600;
  color: #334155;
}

.value {
  color: #1e293b;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

.case-content {
  max-width: 900px;
  margin: 100px auto;
  padding: 0 20px;
  font-family: "Bai-Jamjuree","tahoma","Geneva", Helvetica, Arial, sans-serif;
  color: #222;
  background-color: #fff;
}

/* --- case-content 内图片居中 --- */
.case-content img {
  display: block;        /* 块级元素，去掉底部空隙 */
  margin: 0 auto;        /* 水平居中 */
  max-width: 100%;       /* 避免超出容器 */
  height: auto;          /* 保持图片比例 */
}

/* 如果图片有说明文字，可以加一个居中容器 */
.case-content .image-note {
  text-align: center;
  margin-top: 12px;
  font-size: 17px;
  color: #777;
  line-height: 1.5;
  max-width: 100%;
}

/* 响应式适配小屏幕 */
@media (max-width: 768px) {
  .case-content img {
    width: 100%;         /* 手机屏幕自适应宽度 */
    height: auto;
  }
  
  .case-content .image-note {
    font-size: 15px;
  }
}


.publish-date {
  color: #666;
  font-size: 17px;
  margin-bottom: 32px;
}

.case-text p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 24px;
  color: #333;
}

.case-text p:first-letter {
  margin-left: 1em;
}

@media (max-width: 768px) {
  .case-content {
    margin: 60px auto;
  }
  .case-text p {
    font-size: 1rem;
    line-height: 1.7;
  }
}

  .case-image {
  display: flex;
  flex-direction: column;
  align-items: center;  /* 水平居中 */
  justify-content: center; /* 可选：垂直居中 */
  margin: 60px 0;
}

.image-box {
  display: flex;
  justify-content: center;  /* 水平居中 */
  align-items: center;      /* 垂直居中 */
  width: 900px;
  height: 600px;
  background-color: #f5f5f5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}


.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
} 

  /* --- Testimonial Section --- */
.testimonial {
  max-width: 800px;
  margin: 80px auto;
  padding: 40px 50px;
  background-color: #f8f9fb;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  text-align: center;
  font-family: "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
}

.testimonial blockquote {
  font-size: 18px;
  line-height: 1.8;
  font-style: italic;
  color: #222;
  margin-bottom: 20px;
  position: relative;
}

.testimonial blockquote::before {
  content: "“";
  font-size: 3rem;
  color: #0058c6;
  position: absolute;
  left: -10px;
  top: -10px;
  opacity: 0.3;
}

.testimonial .cite {
  font-size: 18px;
  color: #555;
  margin-top: 10px;
}

/* --- CTA Section --- */
.cta {
  max-width: 800px;
  margin: 100px auto;
  padding: 50px 40px;
  background-color: #0058c6;
  color: #fff;
  text-align: center;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.cta h3 {
  font-size: 22px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.cta p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #e8f0ff;
}

.btn-primary {
  display: inline-block;
  background-color: #fff;
  color: #0058c6;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #e0e7ff;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .testimonial, .cta {
    margin: 60px 20px;
    padding: 30px 25px;
  }

  .testimonial blockquote {
    font-size: 1.05rem;
  }

  .cta h3 {
    font-size: 1.4rem;
  }
}


.case-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 60px 0;
}

.image-box.small {
  width: 600px;
  height: 400px;
  background-color: #f5f5f5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-box.small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-box.small span {
  color: #666;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.image-note {
  font-size: 17px;
  color: #777;
  margin-top: 12px;
  text-align: center;
  max-width: 600px;
  line-height: 1.5;
}
